package com.cskaoyan.service;

import com.cskaoyan.bean.MarketStorage;
import com.cskaoyan.bean.common.BaseRespVo;

import java.io.InputStream;

/**
 * @author Yuye Wang
 * @date 2023/5/30 11:28
 * @description TODO
 */
public interface StorageService {
    BaseRespVo create(InputStream inputStream, long size, String contentType, String fileName);

    BaseRespVo list(Integer page, Integer limit, String key, String name, String sort, String order);

    BaseRespVo update(MarketStorage marketStorage);

    BaseRespVo delete(MarketStorage marketStorage);
}
